/* 声明字体图标 */
@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?1lv3na');
    src: url('../fonts/icomoon.eot?1lv3na#iefix') format('embedded-opentype'),
        url('../fonts/icomoon.ttf?1lv3na') format('truetype'),
        url('../fonts/icomoon.woff?1lv3na') format('woff'),
        url('../fonts/icomoon.svg?1lv3na#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

/* 版心 */
.w {
    width: 1200px;
    margin: 0 auto;
}

/* 左浮动 */
.fl {
    float: left;
}

/* 右浮动 */
.fr {
    float: right;
}

/* 通用红色 */
.style_red {
    color: #c81623;
}


/* 品优购头部 */
/* 1.快捷导航模块 */
.shotcut {
    height: 31px;
    background-color: #f1f1f1;
    text-align: center;
    line-height: 31px;
}

.shotcut ul li {
    float: left;
}

.shotcut .fr ul li:nth-child(even) {
    background-color: #666;
    height: 12px;
    width: 1px;
    line-height: 12px;
    margin: 9px 15px 0;
}

.arrow-icon::after {
    content: '\e91e';
    font-family: icomoon;
    margin-left: 6px;
}


/* 2. 头部模块 */
.header {
    position: relative;
    height: 105px;
    /* background-color: pink;
} */
}

.header .logo {
    position: absolute;
    top: 25px;
    width: 171px;
    height: 61px;
    /* background-color: skyblue; */
}

.header .logo a {
    display: block;
    width: 171px;
    height: 61px;
    background: url(../images/logo.png) no-repeat;
    /* font-size: 0; */
    /* 淘宝做法 */
    text-indent: -999px;
    overflow: hidden;
}

.search {
    position: absolute;
    left: 346px;
    top: 25px;
    width: 538px;
    height: 36px;
    border: 2px solid #b1191a;
}

.search input {
    float: left;
    width: 454px;
    height: 32px;
    padding-left: 10px;
}

.search button {
    float: left;
    width: 80px;
    height: 32px;
    background-color: #b1191a;
    font-size: 16px;
    color: #f1f1f1;
}

/* 热点关键词 */
.hotwords {
    position: absolute;
    top: 66px;
    left: 346px;
}

.hotwords a {
    margin: 0 10px;
}

/* 购物车模块 */
.shopcar {
    position: absolute;
    width: 140px;
    height: 35px;
    border: 1px solid #dfdfdf;
    background-color: #f7f7f7;
    right: 64px;
    top: 25px;
    line-height: 35px;
    text-align: center;
}

/* 添加购物车字体图标 */
.shopcar::before {
    content: '\e913';
    font-family: icomoon;
    margin-left: 5px;
    color: #b1191a;


}

.shopcar::after {
    content: '\e920';
    font-family: icomoon;
    margin-left: 10px;
}

.count {
    position: absolute;
    top: -5px;
    left: 105px;
    height: 14px;
    color: #fff;
    background-color: #b1191a;
    padding: 0 5px;
    line-height: 14px;
    border-radius: 7px 7px 7px 0;
}



/* 3.Nav导航模块 */
.nav {
    height: 47px;
    border-bottom: 2px solid #b1191a;
}

.nav .dropdown {
    float: left;
    /* 关闭下拉显示 */
    /* display: none; */
    width: 210px;
    height: 45px;
    background-color: #b1191a;

}

.nav .dropdown .dt {
    width: 100%;
    height: 100%;
    color: #fff;
    text-align: center;
    line-height: 45px;
    font-size: 16px;
}

.nav .dropdown .dd {
    /* display: none; */
    width: 210px;
    height: 465px;
    background-color: #c81623;
    color: #f7f7f7;
    margin-top: 2px;

}

.dropdown .dd ul li {
    margin-left: 1px;
    height: 31px;
    line-height: 31px;
    padding-left: 10px;
}

/* 给最后一个li标签添加下边框,使其好看 */
.dropdown .dd .lastCategory {
    border-bottom: 1px solid #c81623;

}

.dropdown .dd ul li::after {
    /* 让字体靠右 20 个像素 */
    margin-right: 10px;
    content: '\e920';
    font-family: icomoon;
    font-size: 15px;
    float: right;
    color: #fff;
}

.dropdown .dd ul li a {
    margin: 0;
    font-size: 14px;
    color: white;
}

/* .dropdown .dd ul li:hover 当我移动该 li标签时,让背景颜色左侧10px保持原来颜色,其他地方变为白色背景 */


.dropdown .dd ul li:hover {

    /* 左侧 10px 不渲染白色 */
    padding-left: 10px;
    background-color: white;
}

.dropdown .dd ul li:hover a {
    color: #c81623;
}







.nav .navitems {
    float: left;
}


.navitems ul li {
    float: left;
}

.navitems ul li a {
    display: block;
    height: 45px;
    line-height: 45px;
    padding: 0 25px;
    font-size: 16px;
    text-align: center;

}



/* 4.底部模块 */
.footer {
    height: 415px;
    background-color: #F3F5F2;
    padding-top: 30px;
}



.mod_service {
    height: 80px;
    border-bottom: 1px solid #ccc;
}

.mod_service ul li {
    float: left;
    height: 50px;
    width: 300px;

    padding-left: 35px;
}

.mod_service ul li h5 {
    float: left;
    margin-right: 8px;
    width: 50px;
    height: 50px;
    background: url(../images/icons.png) no-repeat -252px -2.5px;

}

.service_text h4 {
    font-size: 14px;
}

.service_text p {
    font-size: 12px;
}

.mod_help {
    margin-top: 20px;
    margin-left: 50px;
    height: 185px;
    border-bottom: 1px solid #ccc;
}

.mod_help dl {
    float: left;
    margin-left: 100px;
}


.mod_help dl.dlFisrt {
    margin-left: 0;
}


.mod_help dl:last-child {
    width: 90px;
    text-align: center;
}


.mod_help dl dt {
    font-size: 16px;
    margin-bottom: 10px;

}

.mod_copyright {
    text-align: center;
    padding-top: 20px;
}

.links {
    margin-bottom: 15px;
}

.links a {
    margin: 0px 3px;
}

.copyright {
    line-height: 20px;
}






/* */